<%@ page language="java" contentType="text/html; charset=utf8"	pageEncoding="utf8"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ include file="../../header.jsp" %>

	<form:form method="post" action="user.add" commandName="user">

		<table>
			<tr>
				<td><form:label path="firstName">
						<spring:message code="label.firstname" />
					</form:label>
				</td>
				<td><form:input path="firstName" /><form:errors path="firstName" />
				</td>
			</tr>
			<tr>
				<td><form:label path="lastName">
						<spring:message code="label.lastname" />
					</form:label>
				</td>
				<td><form:input path="lastName" /><form:errors path="lastName" />
				</td>
			</tr>
			<tr>
				<td><form:label path="email">
						<spring:message code="label.email" />
					</form:label>
				</td>
				<td><form:input path="email" /><form:errors path="email" />
				</td>
			</tr>
			<tr>
				<td><form:label path="login">
						<spring:message code="label.login" />
					</form:label>
				</td>
				<td><form:input path="login" /><form:errors path="login" />
				</td>
			</tr>
			<tr>
				<td><form:label path="password">
						<spring:message code="label.password" />
					</form:label>
				</td>
				<td><form:password path="password" /><form:errors path="password" />
				</td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit"
					value="<spring:message code="label.adduser"/>" />
				</td>
			</tr>
		</table>
	</form:form>

<%@ include file="../../footer.jsp" %>